package com.ruoyi.asset.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 ast_device
 * 
 * @author xunzhe
 * @date 2024-06-07
 */
public class AstDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long deviceId;

    /**  */
    @Excel(name = "")
    private Long deptId;

    /** 站点 */
    @Excel(name = "站点")
    private Long siteId;

    private Long storeroomId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备数量 */
    @Excel(name = "设备数量")
    private Long deviceNumber;

    /** 单价 */
    @Excel(name = "单价")
    private Long devicePrice;

    /** 规格 */
    @Excel(name = "规格")
    private String deviceGuige;

    /** 二维码id */
    @Excel(name = "二维码id")
    private String deviceQrcode;

    /** 二维码地址 */
    @Excel(name = "二维码地址")
    private String deviceQrcodeImg;

    /** 设备厂家 */
    @Excel(name = "设备厂家")
    private String deviceFactory;

    /** 采购时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采购时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deviceProcureTime;

    /** 质保时长(年) */
    @Excel(name = "质保时长(年)")
    private String warrantyDuration;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String status;

    private String batchNumber;

    private String reason;

    private String storeroomName;

    private Long userId;

    private String siteName;

    private String protocolMode;

    private String imgList;

    private String caozuoStatus;

    private String caozuoRen;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date caozuoTime;

    private String deviceType;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public Long getStoreroomId() {
        return storeroomId;
    }

    public void setStoreroomId(Long storeroomId) {
        this.storeroomId = storeroomId;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setDeviceNumber(Long deviceNumber) 
    {
        this.deviceNumber = deviceNumber;
    }

    public Long getDeviceNumber() 
    {
        return deviceNumber;
    }
    public void setDevicePrice(Long devicePrice) 
    {
        this.devicePrice = devicePrice;
    }

    public Long getDevicePrice() 
    {
        return devicePrice;
    }
    public void setDeviceGuige(String deviceGuige) 
    {
        this.deviceGuige = deviceGuige;
    }

    public String getDeviceGuige() 
    {
        return deviceGuige;
    }
    public void setDeviceQrcode(String deviceQrcode) 
    {
        this.deviceQrcode = deviceQrcode;
    }

    public String getDeviceQrcode() 
    {
        return deviceQrcode;
    }
    public void setDeviceQrcodeImg(String deviceQrcodeImg) 
    {
        this.deviceQrcodeImg = deviceQrcodeImg;
    }

    public String getDeviceQrcodeImg() 
    {
        return deviceQrcodeImg;
    }
    public void setDeviceFactory(String deviceFactory) 
    {
        this.deviceFactory = deviceFactory;
    }

    public String getDeviceFactory() 
    {
        return deviceFactory;
    }
    public void setDeviceProcureTime(Date deviceProcureTime) 
    {
        this.deviceProcureTime = deviceProcureTime;
    }

    public Date getDeviceProcureTime() 
    {
        return deviceProcureTime;
    }
    public void setWarrantyDuration(String warrantyDuration) 
    {
        this.warrantyDuration = warrantyDuration;
    }

    public String getWarrantyDuration() 
    {
        return warrantyDuration;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getCaozuoStatus() {
        return caozuoStatus;
    }

    public void setCaozuoStatus(String caozuoStatus) {
        this.caozuoStatus = caozuoStatus;
    }

    public String getStoreroomName() {
        return storeroomName;
    }

    public void setStoreroomName(String storeroomName) {
        this.storeroomName = storeroomName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getProtocolMode() {
        return protocolMode;
    }

    public void setProtocolMode(String protocolMode) {
        this.protocolMode = protocolMode;
    }

    public String getImgList() {
        return imgList;
    }

    public void setImgList(String imgList) {
        this.imgList = imgList;
    }

    public String getCaozuoRen() {
        return caozuoRen;
    }

    public void setCaozuoRen(String caozuoRen) {
        this.caozuoRen = caozuoRen;
    }

    public Date getCaozuoTime() {
        return caozuoTime;
    }

    public void setCaozuoTime(Date caozuoTime) {
        this.caozuoTime = caozuoTime;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("deptId", getDeptId())
            .append("siteId", getSiteId())
            .append("deviceName", getDeviceName())
            .append("deviceNumber", getDeviceNumber())
            .append("devicePrice", getDevicePrice())
            .append("deviceGuige", getDeviceGuige())
            .append("deviceQrcode", getDeviceQrcode())
            .append("deviceQrcodeImg", getDeviceQrcodeImg())
            .append("deviceFactory", getDeviceFactory())
            .append("deviceProcureTime", getDeviceProcureTime())
            .append("warrantyDuration", getWarrantyDuration())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
